package com.tang.model.abstractfactory;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/8/15 16:33
 * @Desc 抽象工厂
 * @Remarks
 */
public class AbstractFactoryTest {

    public static void main(String[] args) {
        AbstractCourseFactory abstractCourseFactory = PythonCourse.getInstance();
        INote iNote = abstractCourseFactory.createdNote();
        iNote.edit();
        IVedio iVedio = abstractCourseFactory.createdVedio();
        iVedio.record();
    }
}
